Skip to content

fix: resolve failing tests and type errors - #302

Open
stooit wants to merge 1 commit into
mainfrom
quantcode/e2e-tier2-908-1794572075
Open

stooit wants to merge 1 commit into
mainfrom
quantcode/e2e-tier2-908-1794572075

Conversation

@stooit

@stooit stooit commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Fixes: implement paginate; rename User.userName→username; import missing badRequest in users route; auth middleware public methods "post"→"POST"; tsconfig types: ["bun-types"] (existing devDependency).

Verification: bun test 22/22 pass; tsc --noEmit clean. No test files modified, no new deps.

Assumptions/notes: POST public is documented intent (docblock + test), so POST /posts is unauthenticated. Out of scope: hard-coded test-token fallback when API_TOKEN unset, non-constant-time token compare, no validation of size <= 0 in paginate, stale BUG/TODO comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant